using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace vnMcdonald.Models
{
    public partial class Order
    {
        public Order()
        {
            this.OrderDetails = new List<OrderDetail>();
        }

        public int OrderId { get; set; }
        public string Codes { get; set; }
        [DisplayFormat(DataFormatString = "{0:0,0}")]
        public Nullable<decimal> TotalPrice { get; set; }
        public Nullable<System.DateTime> CreateDate { get; set; }
        public string Recipient { get; set; }
        public string Address { get; set; }
        public string Phone { get; set; }
        public Nullable<int> UserId { get; set; }
        public string Note { get; set; }
        public Nullable<byte> Status { get; set; }
        public virtual ICollection<OrderDetail> OrderDetails { get; set; }
        public virtual User User { get; set; }
    }
}
